<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学子页面</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .main{
            background-color: #eee;
        }
        /*版心：固定宽度且居中*/
        .center{
            width: 1000px;
            margin: 0 auto;
        }
        .f1{
            overflow: hidden;
        }
        .f2{
            overflow: hidden;
           margin-top: 10px;
        }
        .f1>.left{
            width: 611px;
            height: 376px;
            background-color: gray;
            float: left;
            margin-right: 10px;
            position: relative;
        }
        /*一楼左侧文字区域*/
        .f1>.left>.text{
            width: 245px;
            height: 232px;
            /*background-color: pink;*/
            margin-top: 68px;
            margin-left: 36px;
        }
        .f1 .text>.p_title{
            font-size: 32px;
            color: #333;
            font-weight: lighter;
        }
        .f1 .text>.p_intro{
            font-size: 12px;
            color: #666;
            font-weight: lighter;
            margin-top: 12px;
            margin-bottom: 24px;
        }
        .f1 .text>.p_price{
            font-size: 24px;
            color: #0aa1ed;
            font-weight: bold;
        }
        .f1 .text>a{
            display: block;/*超链接默认是行内元素，变成块级才能能设置宽高*/
            width: 132px;
            height: 40px;
            background-color: #0aa1ed;
            text-decoration: none;/*去掉超链接自带的下划线*/
            font-size: 20px;
            color: #fff;
            text-align: center;/*文字水平居中*/
            line-height: 40px;/*文字垂直居中*/
            border-radius: 5px;/*边框圆角*/
            margin-top: 12px;
        }
        /*一楼左侧图片*/
        .f1>.left>img{
            width: 318px;
            height: 319px;
            position: absolute;
            top: 35px;
            left: 265px;
        }
        .f1>.right{
            width: 375px;
            height: 376px;
            background-color: #e8e8e8;
            float: left;
            position:relative;
        }
        /*一楼右侧图片*/
        .f1>.right>img {
            width: 292px;
            height: 232px;
            position: absolute;
            top: 130px;
            left: 75px;
        }
        .f1>.right>.text {
            width: 245px;
            height: 232px;
            /*background-color: magenta;*/
            margin-top: 39px;
            margin-left: 25px;
            /*图片放大会遮盖"查看详情按钮"，所以将文字区域的层级调高*/
            position: relative;
            z-index: 10;
        }
        .f2>.left{
            width: 366px;
            height: 233px;
            background-color: #e8e8e8;
            float: left;
            margin-right: 20px;
        }
        .f2>.left>.tit{
            height: 35px;
            background-color: #0aa1ed;
            position: relative;
        }
        .f2.left.tit>img{
            width: 29px;
            height: 20px;
            position: absolute;
            left: 100px;
            top: 8px;
        }
        .f2.left.tit>span{
            position: absolute;
            left: 49px;
            color: #fff;
            line-height: 35px;
        }
        .f2>.left>.item_all {
            padding-left: 12px;
        }
        .f2>left>.item_all>.tit_p{
            font-size: 12px;
            color: #62b5ec;
            margin-top: 17px;
            margin-bottom: 9px;
        }
        .f2>.left>.item_all>ul{
            overflow: hidden;
            list-style: none;
        }
        .f2>.left>.item_all>ul>li{
            float: left;
            margin-right: 10px;
        }
        .f2>.left>.item_all>ul>li>a{
            text-decoration: none;
            font-size: 12px;
            color: #0aa1ed;
        }
        .f2>.card{
            width: 198px;
            height: 233px;
            background-color: #e8e8e8;
            float: left;
            margin-right: 8px;
            text-align: center;
            font-size: 12px;
        }
        .f2>.card>.p_intro{
            font-weight: lighter;
        }
        .f2>.card>.p_price{
            font-weight: bold;
            color: #0aa1ed;
            margin: 6px;
        }
        .f2>.card>a{
            background-color: #0aa1ed;
            display: block;
            width: 100px;
            height: 24px;
            text-decoration: none;
            color: #fff;
            line-height: 24px;
            margin: 0 auto;
        }
        .f2>.card3{
            margin-right: 0;
        }
        .scale{
            transition: 2s;
        }
        .scale:hover{
            transform: scale(1.1);
        }
    </style>
</head>
<body>
<!--设置最外层功能块-->
<div class="main">
<!--    版心：固定宽度且居中-->
    <div class="center">
<!--        一楼-->
<div class="f1">
<!--    一楼左侧-->
    <div class="left">
        <div class="text">
            <p class="p_title">灵越 燃7000系列</p>
               <p class="p_intro"> 酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                英特尔HD显卡620含共享显卡内存</p>
            <p class="p_price">￥4999.00</p>
            <a href="#">查看详情</a>
        </div>
        <img src="img/computer1.png" alt="" class="scale">
    </div>
<!--    一楼右侧-->
    <div class="right">
        <div class="text">
            <p class="p_title">颜值 框不住</p>
            <p class="p_intro"> 酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                英特尔HD显卡620含共享显卡内存</p>
            <p class="p_price">￥6888.00</p>
            <a href="#">查看详情</a>
        </div>
        <img src="img/computer2.png" class="scale" >
    </div>
</div>
<!--        二楼-->
<div class="f2">
<!--    二楼左侧-->
    <div class="left">
        <div class="tit">
            <img src="img/icon.png" alt="" >
            <span>电脑，办公/1F</span>
            <div class="item_all">
                <p class="tit_p">电脑整机</p>
                <ul>
                    <li><a href="#">笔记本</a></li>
                    <li><a href="#">游戏机</a></li>
                    <li><a href="#">台式机</a></li>
                    <li><a href="#">一体机</a></li>
                    <li><a href="#">服务器</a></li>
                    <li><a href="#">联想</a></li>
                </ul>
                <p class="tit_p">电脑配件</p>
                <ul>
                    <li><a href="#">CPU</a></li>
                    <li><a href="#">SSD硬盘</a></li>
                    <li><a href="#">显示器</a></li>
                    <li><a href="#">显卡</a></li>
                    <li><a href="#">组装电脑</a></li>
                    <li><a href="#">机箱</a></li>
                </ul>
                <p class="tit_p">外设/游戏</p>
                <ul>
                    <li><a href="#">键盘</a></li>
                    <li><a href="#">鼠标</a></li>
                    <li><a href="#">U盘</a></li>
                    <li><a href="#">移动硬盘</a></li>
                    <li><a href="#">游戏设备</a></li>
                    <li><a href="#">智能单车</a></li>
                </ul>
            </div>
        </div>
    </div>
<!--    二楼卡片-->
    <div class="card">
        <img src="img/computer3.png" class="scale">
        <p class="p_intro">
            戴尔(DELL)XPS13-9360-R1609 13.3英<br>
            寸微边框笔记本电脑
        </p>
        <p class="p_price">￥4600.00</p>
        <a href="#">查看详情</a>
    </div>
    <div class="card">
        <img src="img/computer4.png" class="scale">
        <p class="p_intro">
            14.8mm超轻薄笔记本电脑 航海王版<br>
            13.3英寸微边框笔记本电脑
        </p>
        <p class="p_price">￥5600.00 </p>
        <a href="#">查看详情</a>
    </div>
    <div class="card card3">
        <img src="img/computer3.png" class="scale">
        <p class="p_intro">
            联想(Lenovo) YOGA900 多彩版 13.3<br>
            英寸微边框笔记本电脑
        </p>
        <p class="p_price">￥6600.00</p>
        <a href="#">查看详情</a>
    </div>
</div>
    </div>
</div>
</body>
</html>